package com.qdy.service;

import com.qdy.entity.exercise.Exercise;
import com.qdy.entity.exercise.ExerciseComment;
import com.qdy.entity.exercise.ExerciseMember;

import java.util.List;
import java.util.Map;

/**
 * Created by qudingyi on 2017/4/22.
 */
public interface ExerciseService  {



    /**
     * 获取活动祥情
     * @param exerciseId
     * @return
     */
    public Map<String,Object> getExerciseInfo(Long exerciseId);

    public void saveExercise(Exercise exercise);
    public void saveComment(ExerciseComment exerciseComment);
    public void saveMember(ExerciseMember exerciseMember);

    public List<Exercise> findExerciseByAll();
}
